<!--
 * @Author: wangjian
 * 656876071@qq.com
 * @Date: 2024-09-05 10:06:26
 * @LastEditTime: 2024-09-05 10:31:46
 * @FilePath: src/views/sys/test/TestChild.vue
 * @Description: 
 -->
<script setup lang="ts">
import {watch} from "vue";

let props = defineProps(['name','data','code'])
watch(()=>props.name, (newValue, oldValue) => {
  console.log("新：", newValue, "旧：", oldValue)
})
</script>

<template>
  {{ name }}
</template>

<style scoped>

</style>